import java.lang.reflect.Array;
import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description: Arrays.toString的实现
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2023-04-19  16:10
 */
public class Test {
    public static void main(String[] args) {
        int[] arrys = {1,2,3,4,5,};
        System.out.println(Arrays.toString(arrys));
    }
    public static void main1(String[] args) {
        int[] array = new int[]{1,2,3,4,5,6,7,8,9};
        for (int x:array) {
            System.out.print(x + " ");
        }
    }
}
